home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-01-25 | 1.6 KB | 39 lines | [TEXT/DNS?] |
- ; Sample hosts file for use with MacDNS and
- ; HomeDoor to serve a number of virtual domains from one Web server.
-
- ; This is the hosts file for the "CompanyX.com" virtual domain
-
- ; START OF AUTHORITY INFORMATION
- CompanyX.com. IN SOA dns.yourwebserver.com. hostmaster.yourwebserver.com. (
- 9601251 ; serial number (yymmddn)
- 36000 ; refresh (every 10 hours)
- 7200 ; retry (after 2 hours)
- 604800 ; expire (after 1 week)
- 86400 ) ; minimum time to live (1 day)
-
- ; NAME SERVERS
- CompanyX.com. IN NS dns.yourwebserver.com.
- CompanyX.com. IN NS dns2.yourwebserver.com.
-
- ; MAIL EXCHANGERS
- ; You don't need this line if you're not providing virtual e-mail services for CompanyX
- CompanyX.com. IN MX 10 yourmailserver.com.
-
- ; HOST ADDRESSES
- ; The HomeDoor address you're going to assign to the CompanyX virtual domain
- www.CompanyX.com. IN A 10.0.0.1
-
- ; ALIASES
- ; Aliases for your actual Web server - not strictly necessary
- ; This alias makes it so that Web browsers' "location" fields
- ; list CompanyX.com as the domain, rather than yourwebserver.com
- ; For this to work, you must enter this alias in the HomeDoor URL
- ; associated with the above address (rather than www.yourwebserver.com)
- ; MacDNS does not support cross-domain aliases, so instead of:
- ; www2.CompanyX.com. IN CNAME www.yourwebserver.com.
- ; you have to use the hard-coded addresses of the real Web server
- www2.CompanyX.com. IN A 10.0.0.254
-
-
-
-